package main

import (
	"gin_demo/internal/consts"
	"gin_demo/router"
	"gin_demo/utility"
)

func main() {
	consts.App.Viper = utility.SystemInit()
	consts.App.Log = utility.InitLogger()
	consts.App.DB = utility.InitMysql()
	consts.App.MinioClient = utility.InitMinio()
	consts.App.Redis = utility.InitRedis()
	router.RunServer()
}
